package com.yanqu.road.entity.log;


import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_ck_cat_activity_draw", autoSave = true,uploadCk = true,desc = "怪化猫-抽奖")
public class LogCatActivityDraw extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户ID",isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "活动ID",isIndex = true)
    private int activityId;

    @FieldTypeAnnotation(desc = "配置id")
    private int drawId;

    @FieldTypeAnnotation(desc = "奖励")
    private String reward;

    public LogCatActivityDraw(long userId, int activityId, int drawId, String reward) {
        this.userId = userId;
        this.activityId = activityId;
        this.drawId = drawId;
        this.reward = reward;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getDrawId() {
        return drawId;
    }

    public void setDrawId(int drawId) {
        this.drawId = drawId;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }
}
